<div id="userPage">
   <h2>Make a Report</h2>
   <br/>
   <form method="POST" action="reportscript.php?id={$id}">
      <table>
      
      	<tr class="field">
      		<td>Report: </td>
      		<td><select name="type">
      			<option value="---">Please select one...</option>
      			<option value="Vandalism">Vandalism</option>
      			<option value="Maintenance">Maintenance</option>
      			<option value="Suggestion">Suggestion</option>
      		</select></td>
      		<td>{$typeerr}</td>
      	</tr>	
      	
      	
      	<tr class="field">
      		<td>Topic: </td>
      		<td><input type="text" size="20" name="topic" value="{$topic}"></input></td>
      		<td>{$topicerr}</td>
      	</tr>
      	
      	<tr class="field">
      		<td>Details: </td>
      		<td><textarea rows="3" cols="40" name="details">{$details}</textarea></td>					
      		<td>{$detailserr}</td>					
      	</tr>	
      			
      	<tr class="field">
      		<td></td>
      		<td><input type="submit" size="7" value="Submit"></input></td>
      	</tr>
      	
      </table>
    
   </form>

</div>